package com.supply.service.impl;

import com.supply.mapper.EchartsMapper;
import com.supply.pojo.EchartsData;
import com.supply.service.EchartsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EchartsServiceImpl implements EchartsService {
    @Autowired
    private EchartsMapper echartsMapper;

    @Override
    public List<EchartsData> queryProcurementByLastSevenDays() {
        return echartsMapper.queryProcurementByLastSevenDays();
    }

    @Override
    public List<EchartsData> queryOutBoundByLastSevenDays() {
        return echartsMapper.queryOutBoundByLastSevenDays();
    }
}
